package main

import (
	"go-web/config"
	"go-web/config/router"
)

func main() {
	config.InitConfig()

	r := router.SetupRouter()
	port := config.AppConfig.App.Port

	if port == "" {
		port = "127.0.0.1:10000"
	}

	r.Run(port)
}
